package com.guigu.common.mapper;


import com.guigu.chenjiajun.vo.MDesignProcedureModuleVo;
import com.guigu.common.pojo.MDesignProcedureModule;
import com.guigu.lc.view.desginmaterview;
import com.guigu.lc.view.mdesignprocedureview;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MDesignProcedureModuleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MDesignProcedureModule record);

    int insertSelective(MDesignProcedureModule record);

    MDesignProcedureModule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MDesignProcedureModule record);

    int updateByPrimaryKey(MDesignProcedureModule record);

    List<MDesignProcedureModule> CheckTheMaterial(@Param("id") String id);

    List<MDesignProcedureModule> selectProcedureModule(@Param("id") String id,@Param("productId") String productId);

    int insertProcedureModule(MDesignProcedureModule procedureModule);

    void deletefromparentid(int id);

    List<MDesignProcedureModule> queryByparent(int id);

    void insertmodule(desginmaterview desginmaterview);

    void deletecxshejimodulem(int id);

    void piliangdeletefromparentfalse(desginmaterview desginmaterview);

    void deletefromchanpgxsdheji(mdesignprocedureview mdesignprocedureview);

    List<MDesignProcedureModuleVo> queryModule_subtotal(String id);
}